package com.lk.client.controller;

import com.lk.client.proxy.JdkProxy;
import com.lk.intefaces.HelloService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author kun.li
 */
@RestController
public class HelloController {

    @GetMapping("test")
    public String test() {
        HelloService helloService = JdkProxy.getProxy(HelloService.class);
        return helloService.sayHello("aaa");

    }
}
